/// <reference path="../../libs/TypedMVVM/include/typedMVVM.ts" />
/// <reference path="../../interfaces/ISampleService.ts" />
var TypedMVVM;
(function (TypedMVVM) {
    var Samples;
    (function (Samples) {
        var DesignData;
        (function (DesignData) {
            var Services;
            (function (Services) {
                var SampleService = (function () {
                    function SampleService() {
                    }
                    SampleService.prototype.getTitle = function () {
                        return "Design - Welcome to TypedMVVM";
                    };
                    SampleService.prototype.getContent = function () {
                        return "Design - Sample property from the ViewModel";
                    };
                    SampleService.prototype.getCommandButtonText = function () {
                        return "Design - Show a PopUp!";
                    };
                    SampleService.prototype.getItemsList = function (dialogService) {
                        return [
                            new Samples.Models.SampleListViewItemModel("Design - Sample Item 1", new TypedMVVM.Common.Commands.RelayCommand(function () { return dialogService.showDialog("Sample Item1 button clicked"); }, function () {
                                return true;
                            })),
                            new Samples.Models.SampleListViewItemModel("Design - Sample Item 2", new TypedMVVM.Common.Commands.RelayCommand(function () { return dialogService.showDialog("Sample Item2 button clicked"); }, function () {
                                return true;
                            })),
                            new Samples.Models.SampleListViewItemModel("Design - Sample Item 2", new TypedMVVM.Common.Commands.RelayCommand(function () { return dialogService.showDialog("Sample Item3 button clicked"); }, function () {
                                return true;
                            }))
                        ];
                    };
                    return SampleService;
                })();
                Services.SampleService = SampleService;
            })(Services = DesignData.Services || (DesignData.Services = {}));
        })(DesignData = Samples.DesignData || (Samples.DesignData = {}));
    })(Samples = TypedMVVM.Samples || (TypedMVVM.Samples = {}));
})(TypedMVVM || (TypedMVVM = {}));
//# sourceMappingURL=SampleDesignDataService.js.map